﻿/*====================================================================================
* Copyright (c) 2015-2026成都长益西联软件有限公司,All Rights Reserved.
*=====================================================================================
* 文件名称：Cpn
* 功能描述：企业资料表  数据库表  （本类由软件生成生成） 
* 创 建 者：HFL
* 创建时间：2018-03-13 11:33:40
* 修 改 者：HFL
* 修改时间：2018-03-13 11:33:40
*===================================================================================*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WPay.Domain.Model.Entities
{
    /// <summary>
    /// 企业资料表
    /// </summary>
    [Serializable]
    public partial class Cpn
    {

        /// <summary>
        /// 主键：企业代码
        /// </summary>
        [Description("企业代码")]
        [Key, Column(Order = 0)]
        public string CpnID { get; set; }
        /// <summary>
        /// ERP企业代码
        /// </summary>
        [Description("ERP企业代码")]
        public string ERPCpnId { get; set; }


        /// <summary>
        /// 企业名称(注册名称)
        /// </summary>
        [Description("注册名称")]
        public string Name { get; set; }

        /// <summary>
        /// 经营类型 0-线下标准类  (商户类别)
        /// </summary>
        [Description("经营类型")]
        public string CpnItTp { get; set; }

        /// <summary>
        /// 经营地址(省市区)
        /// </summary>
        [Description("经营地址")]
        public string City { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        [Description("详细地址")]
        public string Adr { get; set; }

        /// <summary>
        /// 办公电话
        /// </summary>
        [Description("办公电话")]
        public string Tel { get; set; }

        /// <summary>
        /// 传真
        /// </summary>
        [Description("传真")]
        public string Fax { get; set; }

        /// <summary>
        /// 开户行
        /// </summary>
        [Description("开户行")]
        public string OpnBnk { get; set; }

        /// <summary>
        /// 注册号
        /// </summary>
        [Description("注册号")]
        public string ActNo { get; set; }

        /// <summary>
        /// 税号
        /// </summary>
        [Description("税号")]
        public string TaxID { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        [Description("联系人")]
        public string Lnkr { get; set; }

        /// <summary>
        /// 联系人电话
        /// </summary>
        [Description("联系人电话")]
        public string LnkPhn { get; set; }

        /// <summary>
        /// 联系人邮箱
        /// </summary>
        [Description("联系人邮箱")]
        public string LnkEml { get; set; }

        /// <summary>
        /// 财务负责人
        /// </summary>
        [Description("财务负责人")]
        public string Cfo { get; set; }

        /// <summary>
        /// 财务联系电话
        /// </summary>
        [Description("财务联系电话")]
        public string CfoPhn { get; set; }

        /// <summary>
        /// 财务邮箱
        /// </summary>
        [Description("财务邮箱")]
        public string CfoEml { get; set; }

        /// <summary>
        /// 系统管理员
        /// </summary>
        [Description("系统管理员")]
        public string Cio { get; set; }

        /// <summary>
        /// 系统管理员电话
        /// </summary>
        [Description("系统管理员电话")]
        public string CioPhn { get; set; }

        /// <summary>
        /// 系统邮件发送时间
        /// </summary>
        [Description("系统邮件发送时间")]
        public string CioEml { get; set; }

        /// <summary>
        /// 客服经理
        /// </summary>
        [Description("客服经理")]
        public string Customer { get; set; }

        /// <summary>
        /// 登记日期
        /// </summary>
        [Description("登记日期")]
        public DateTime? OpnDt { get; set; }

        /// <summary>
        /// 状态[-1禁用、0-未审核、1-已审核]
        /// </summary>
        [Description("状态[-1禁用、0-未审核、1-已审核(对账)、2-不对账]")]
        public Int32 Stt { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Description("备注")]
        public string Brf { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [Description("更新人")]
        public string Uptr { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [Description("更新时间")]
        public DateTime? UptDtt { get; set; }
        /// <summary>
        /// ERP退款加密key
        /// </summary>
        public string Deskey { get; set; }


        /// <summary>
        /// 是否进行交易金额核验
        /// </summary>
        public bool IsCheckMony { get; set; }

        /// <summary>
        /// 大额金额预警
        /// </summary>
        public int CheckMonyMax { get; set; }

        public string RootMsgAPI { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public string BllNo { get; set; }
        /// <summary>
        /// 父级单据号
        /// </summary>
        public string PrtBllNo { get; set; }

        /// <summary>
        ///申请类型0-商户录入 1-系统录入 
        /// </summary>
        public int ApLyTyp { get; set; }

        public int MhTyp { get; set; }
        /// <summary>
        /// 商户编号
        /// </summary>
        public string MhNo { get; set; }

        /// <summary>
        /// 省份
        /// </summary>
        public string Prv { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public string Cty { get; set; }
        /// <summary>
        /// 区域
        /// </summary>
        public string Dit { get; set; }





    }
}
